package com.huonan.component.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "sftp.client", ignoreUnknownFields = false)
@Component
@Data
public class SftpProperties {

    private String host;

    private int port;

    private String protocol;

    private String username;

    private String password;

    private String root;

    private String privateKey;

    private String passphrase;

    private String sessionStrictHostKeyChecking;

    private int sessionConnectTimeout;

    private int channelConnectedTimeout;
}